﻿@model NC.ViewModels.UserLogin
@{
     ViewBag.Title = "Verify Email";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@if(ViewBag.message!=null)
{
    <div class="alert alert-success alert-dismissable">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
        @ViewBag.message
    </div>
}
<div class="login-form-section">
    <div class="login-content bounceIn" >
        @using (Html.BeginForm("ResetPasswordByEmail", "Account"))
        {
            <div class="section-title">
                <h3>Reset Password</h3>
            </div>
            <div class="textbox-wrap">
                <div class="input-group">
                    <span class="input-group-addon glyphicon glyphicon-user "></span>
                        @Html.TextBoxFor(model => model.Email, new { @class = "form-control", @placeholder = "Email Id", @required = "required" })
                </div>
            </div>
            if (@ViewBag.Error != null)
            {
            <div class="alert alert-warning alert-dismissable">
                    <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                    @ViewBag.Error
            </div>
            }                       
            <div class="login-form-action clearfix">                          
                <button type="submit" class="btn btn-success pull-right blue-btn">Reset Password &nbsp; <span class="glyphicon glyphicon-chevron-right"></span></button>
            </div>
        }
    </div>               
</div>